<template>
  <aside class="sidebar">
    <!-- 侧边栏标题 -->
    <h2>侧边栏</h2>
    <!-- 侧边栏菜单项 -->
    <ul>
      <li><a href="#">首页</a></li>
      <li><a href="#">关于</a></li>
      <li><a href="#">联系我们</a></li>
    </ul>
  </aside>
</template>

<script setup>
// 这里可以添加组件的逻辑代码
</script>

<style scoped>
.sidebar {
  width: 200px;
  height: 100vh;
  background-color: #f4f4f4;
  padding: 20px;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  text-decoration: none;
  color: #333;
}

.sidebar a:hover {
  color: #007bff;
}
</style>
